-- GENERATED SPELL FOR [Witch Doctor Mau'ari] --


function spell0_10307(pUnit, Event) --6Create Cache of Mau\'ari,n/a--
pUnit:FullCastSpellOnTarget(16351,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10307', 550, 1)
end

function Sorts_10307(pUnit, Event)
local choix_sorts_10307 = math.random(0, 0)
if choix_sorts_10307 == 0 then
pUnit:RegisterEvent('spell0_10307', 1, 1)
end
end

function mob10307_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10307', math.random(1500, 3000), 1)
end

function mob10307_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10307_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10307_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10307, 1, 'mob10307_Action')
RegisterUnitEvent(10307, 2, 'mob10307_Leave')
RegisterUnitEvent(10307, 3, 'mob10307_Kill')
RegisterUnitEvent(10307, 4, 'mob10307_Die')
